package com.guli.mall.pms.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.guli.common.utils.PageUtils;
import com.guli.mall.pms.entity.SkuInfoEntity;
import com.guli.mall.pms.entity.SpuInfoEntity;
import com.guli.mall.pms.entity.vo.SkuInfoWithMinMaxPriceVo;

import java.util.List;
import java.util.Map;

/**
 * sku信息
 *
 * @author 罗俊华
 * @email 1007052116@qq.com
 * @date 2020-09-17 11:37:22
 */
public interface SkuInfoService extends IService<SkuInfoEntity> {

    PageUtils queryPage(Integer currentPage,Integer size);

    PageUtils<SkuInfoEntity> queryPageByCondition(Integer currentPage, Integer size, SkuInfoWithMinMaxPriceVo skuInfoWithMinMaxPriceVo);

    List<SkuInfoEntity> getListBySpuId(Long id);

    SkuInfoEntity getByIdAndAddImgPredix(Long skuId);

    List<SkuInfoEntity> getSkuListBySpuIdAndAddImgPredix(Long spuId);
}

